package com.test.webservice;

import com.test.entity.Parameters;
import com.test.entity.Result;

public class HelloWorldImpl implements IHelloWorld {

	@Override
	public String sayHello(String name) {
		return name + " say: Hello World!";
	}

	@Override
	public int plus(int input1, int input2) {
		return input1 + input2;
	}

	@Override
	public Result plus1(Parameters param) {
		Result r = new Result();
		r.setResult(param.getInput1() + param.getInnerParam().getParam());
		return r;
	}

}
